/*
 * @Author: szx
 * @Date: 2021-11-07 13:11:17
 * @LastEditTime: 2021-11-07 13:20:44
 * @Description:
 * @FilePath: \leetcode\500-599\598\598.cpp
 */
#include <iostream>
#include <vector>
using namespace std;

class Solution {
   public:
    int maxCount(int m, int n, vector<vector<int>>& ops) {
        int a = m, b = n;
        for (auto &row : ops) {
            a = min(row[0], a);
            b = min(row[1], b);
        }
        return a * b;
    }
};

int main() { return 0; }